package com.mer.service;

import com.mer.entity.Role;
import com.mer.vo.CommonResult;
import com.mer.vo.RolePermissionVo;
import com.mer.vo.RoleVo;
import io.swagger.models.auth.In;

/**
 * @program: IIPhase-project
 * @description: 权限服务接口
 * @author: 冯彦凯
 * @create: 2021-10-19 10:47
 **/
public interface RoleService {
    CommonResult getAllRoleUser(Integer page, Integer limit, Role roleVo);

    CommonResult updateRoleStatusById(String id, Integer deleted);

    CommonResult addOrUpdateInfo(Role role);

    CommonResult deleteInfoById(String roleid);

    CommonResult findPermissionByRoleId(String roleId);

    CommonResult confirmRolePower(RolePermissionVo rolePermissionVo);
}
